package com.example.demo.service.impl;

import com.example.demo.dao.AdminsDao;
import com.example.demo.pojo.Admins;
import com.example.demo.service.IAdminsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

@Service
@Primary
public class AdminsServiceImpl implements IAdminsService {

    @Autowired
    private AdminsDao adminsDao;

    @Override
    public Admins getAdminsByCodeByPass(Admins admins) {
        return adminsDao.getAdminsByCodeByPass(admins);
    }
}
